package com.bskms.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.bskms.bean.CourseNotification;

@Repository
public interface CourseNotificationMapper {
    
    int insert(CourseNotification record);
    
    CourseNotification selectByPrimaryKey(Integer id);
    
    List<CourseNotification> selectByCourseId(Integer courseId);
    
    CourseNotification selectByCourseIdAndDate(@Param("courseId") Integer courseId, @Param("date") String date);
}
